package br.usp.pcs.basys2.engine;

import br.usp.pcs.basys2.file.FileManager;
import br.usp.pcs.basys2.job.JobManager;
import br.usp.pcs.basys2.memory.MemoryManager;
import br.usp.pcs.basys2.peripheral.PeripheralManager;
import br.usp.pcs.basys2.processor.ProcessorManager;

public class BasysSystem {
	private MemoryManager memoryManager;
	private ProcessorManager processorManager = new ProcessorManager();
	private PeripheralManager peripheralsManager = new PeripheralManager();
	private FileManager fileManager = new FileManager();
	private JobManager jobManager = new JobManager();

	public BasysSystem(MemoryManager memoryManager) {
		super();
		this.memoryManager = memoryManager;
	}

	public ProcessorManager getProcessorManager() {
		return processorManager;
	}

	public MemoryManager getMemoryManager() {
		return memoryManager;
	}

	public PeripheralManager getPeripheralManager() {
		return peripheralsManager;
	}

	public FileManager getFileManager() {
		return fileManager;
	}

	public JobManager getJobManager() {
		return jobManager;
	}

	public void setJobManager(JobManager jobManager) {
		this.jobManager = jobManager;
	}

}
